<?php

require_once('Adept/Filter/IFilter.php');

class Adept_Filter_InitHttpContext implements Adept_Filter_IFilter 
{
    
    public function process($chain) 
    {
        $context = Adept_Context::getInstance();
        $context->setRequest(Adept_Request_Http::getInstance());        
        $context->setResponse(Adept_Response_Http::getInstance());
        $context->setSession(Adept_Session_Http::getInstance());
        $chain->next();
    }        
    
}